package hcn.protocol.registration.xml.req;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @Author: lanyu
 * @Description:
 * @Date: create in 2023/3/2 13:29
 */
@XmlRootElement(name = "MsgBody")
public class ReservationConfirmationXmlRequest {

    private ReservationItem Item;

    @XmlElement(name = "Item")
    public ReservationItem getItem() {
        return Item;
    }

    public void setItem(ReservationItem item) {
        Item = item;
    }

    @XmlRootElement(name = "Item")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class ReservationItem {
        private String RequestId;
        private String Organization;
        private String ItemCode;
        private String ItemName;
        private String AppointsQueue;
        private String AppointsDate;
        private String AppointsStartTime;
        private String AppointsEndTime;

        public String getRequestId() {
            return RequestId;
        }

        public void setRequestId(String requestId) {
            RequestId = requestId;
        }

        public String getOrganization() {
            return Organization;
        }

        public void setOrganization(String organization) {
            Organization = organization;
        }

        public String getItemCode() {
            return ItemCode;
        }

        public void setItemCode(String itemCode) {
            ItemCode = itemCode;
        }

        public String getItemName() {
            return ItemName;
        }

        public void setItemName(String itemName) {
            ItemName = itemName;
        }

        public String getAppointsQueue() {
            return AppointsQueue;
        }

        public void setAppointsQueue(String appointsQueue) {
            AppointsQueue = appointsQueue;
        }

        public String getAppointsDate() {
            return AppointsDate;
        }

        public void setAppointsDate(String appointsDate) {
            AppointsDate = appointsDate;
        }

        public String getAppointsStartTime() {
            return AppointsStartTime;
        }

        public void setAppointsStartTime(String appointsStartTime) {
            AppointsStartTime = appointsStartTime;
        }

        public String getAppointsEndTime() {
            return AppointsEndTime;
        }

        public void setAppointsEndTime(String appointsEndTime) {
            AppointsEndTime = appointsEndTime;
        }
    }
}
